package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Adv;
import com.example.chatchatbackend.entity.dto.Comments;
import com.example.chatchatbackend.entity.dto.Shopping;
import com.example.chatchatbackend.entity.vo.request.AdvVO;
import com.example.chatchatbackend.entity.vo.request.CommentsVO;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface CommentsService extends IService<Comments> {

    List<CommentsVO> getAllComments();

    IPage<Comments> pageThree(Integer pageNum, Integer pageSize) ;

    CommentsVO insertComments(CommentsVO commentsVO);

    List<CommentsVO> insertCommentsList(List<CommentsVO> commentsVOList);

    void deleteByIds(List<Integer> ids);
}
